package com.wms.dao;

import com.wms.domain.CompanyDomain;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface CompanyMapper {

    public int add(CompanyDomain companyDomain);

    public int update(CompanyDomain companyDomain);

    public int delete(Long id);

    public int getCompanyCount(CompanyDomain companyDomain);

    public List<CompanyDomain> getCompanyPage(CompanyDomain companyDomain);
}
